package com.zzyl.oss;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "ali.oss")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AliProperties {
    private String endpoint;
    private String bucketName;
    private  String region;
//    private String[] hobby;

}
